<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL & ~E_NOTICE);
set_time_limit(0);

require_once($_SERVER['DOCUMENT_ROOT'] . '/all.conf.php');
require_once(__PHY_LIB.'/class/uWork.class.php');

$oList = new uWorkList();
$oList->cfgOrder("id");
$oList->load();
$nCnt = 0;
while ($oOne = $oList->nextItem()) {
	$oOne->setSku(0, 0, $oOne->getData());
	$nCnt++;
}
echo "({$nCnt}) Works affected.";
?>
